package com.jackhatedance.test.struts2;

import com.opensymphony.xwork2.ActionSupport;
public class HelloWorld extends ActionSupport {

    public static final String MESSAGE = "Struts is up and running ....";

    public String execute() throws Exception {
        setMessage(MESSAGE);
        setWho("jack");
        return SUCCESS;
    }

    private String message;
    
    private String who;

    public void setMessage(String message){
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

	public String getWho() {
		return who;
	}

	public void setWho(String who) {
		this.who = who;
	}
}